package com.lagou.service;

import com.lagou.pojo.ResultVO;

import javax.servlet.http.HttpServletResponse;

/**
 * @author czq
 * @date 2020/9/15 16:36
 */
public interface UserService {

    ResultVO register(String email, String password, String code, HttpServletResponse response);

    boolean isRegistered(String email);

    ResultVO loign(String email, String password, HttpServletResponse response);

    ResultVO info(String token, HttpServletResponse response);
}
